<?php
 if( isset($_POST['cat'])  && isset($_POST['titre'])  && isset($_POST['prix'])  && isset($_POST['description']))
{
include ('connect.php');

mysql_query("INSERT INTO `forgeoia`.`ap3_sp_soins` 
VALUES (
NULL ,'".$_POST['cat']."' ,'".$_POST['titre']."', '".$_POST['description']."', '".$_POST['prix']."', 'pas de photo'
);");
 header ("location: .?page=".$_POST['page']);
}

echo "erreur d'ecriture  " ;



?>
